{extend name="layout:home" /}
{block name="container"}
<div class="layui-tab layui-tab-card">
    {include file="layout/admin_items" /}
    <div class="layui-tab-content page-tab-content">
        <table class="layui-table lay-even">
            <colgroup>
                <col width="150">
                <col width="200">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>{$Think.lang.member_name}</th>
                <th>{$Think.lang.member_truename}</th>
                <th>{$Think.lang.member_email}</th>
                <th>{$Think.lang.member_qq}</th>
                <th>{$Think.lang.member_mobile}</th>
                <th>{$Think.lang.member_index_last_login}</th>
                <th>{$Think.lang.ds_operation}</th>
            </tr>
            </thead>
            <tbody>
            {volist name="member_list" id="member"}
            <tr>
                <td>{$member.member_name}</td>
                <td>{$member.member_truename}</td>
                <td>{$member.member_email}</td>
                <td>{$member.member_qq}</td>
                <td>{$member.member_mobile}</td>
                <td>{if condition="$member.member_old_login_time eq 0"}{$Think.lang.ds_no_login}{else}{$member.member_old_login_time|date='Y-m-d H:i:s'}{/if}</td>
                <td>
                    <a href="javascript:dsLayerOpen('{:url('Member/edit',['member_id'=>$member.member_id])}','{$Think.lang.ds_edit}-{$member.member_name}')" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i>{$Think.lang.ds_edit}</a>
                    <a href="javascript:dsLayerConfirm('{:url('Member/del',['member_id'=>$member.member_id])}','{$Think.lang.member_confirm_del}')" class="layui-btn layui-btn-xs layui-btn-danger"><i class="layui-icon layui-icon-delete"></i>{$Think.lang.ds_del}</a>
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
        {$show_page|raw}
    </div>
</div>
{/block}